We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Source IP Binding

Is there any way to bind aspose.email to a specific IP address when sending from a host which has multiple IP’s assigned?

In the standard .net smtp client you can do this with

Then create
public delegate IPEndPoint BindIPEndPoint(ServicePoint servicePoint, IPEndPoint remoteEndPoint, int retryCount);
private IPEndPoint BindIPEndPointCallback(ServicePoint servicePoint, IPEndPoint remoteEndPoint, int retryCount)
return new IPEndPoint(IPAddress.Parse(“”), 0);

Within BindIPEndPointCallback you can then specify the IP you want to send from

Hi Chris,

Thank you for contacting Aspose Support team.

There is no such feature available to specify the ip/port from which to send the Email. We have requested our Product team to share their feedback in this regard and will soon update you here as the information is available.

Hi Chris,

We have logged a ticket for development team under Id: EMAILNET-35201 to investigate this requirement. You will be automatically notified once any update is received in this regard.

The issues you have found earlier (filed as EMAILNET-35201) have been fixed in this update.

This message was posted using Notification2Forum from Downloads module by Aspose Notifier.